import { request } from '../utils/request'

// 获取轮播图数据
export const getBannerList = () => {
    return request({
        url: 'banner/list'
    })
}

// 获取菜单数据
export const getMenuList = () => {
    return request({
        url: 'menu/list'
    })
}

// 分页获取商品列表数据
export const getGoodsList = extraData => {
    return request({
        url: 'pro/list',
        extraData
    })
}

